You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxVec Class > TMtxVec Methods > Mul Method > TMtxVec.Mul Method ([In] double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxVec.Mul Method ([In] double)

Multiply object elements with Value.

Syntax
C#
Visual Basic
public TMtxVec Mul([In] double Value);

Multiplies all calling object elements with Value in-place.

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TVec a; MtxVec.CreateIt(out a); try { a.SetIt(false,new double[] {2,3,5}); // a = [2,3,5] a.Mul(3); // a = [6,9,15] } finally { MtxVec.FreeIt(ref a); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!